<template>
  <div class="app-container">
    <el-table :data="PageList" height="500px" border stripe>
          <el-table-column prop="id" label="老师id" ></el-table-column>
          <el-table-column  label="老师名称" >
            <template slot-scope="scope">{{scope.row.createTime | timeFilter}}</template>
          </el-table-column>
          <el-table-column prop="name" label="班级id" ></el-table-column>
          <el-table-column  label="班级名称" >
              <template slot-scope="scope">
                  <el-tag  type="success" @click="dialogHistory(scope.row)">查看</el-tag>
                  <el-tag  type="danger">未发布</el-tag>
              </template>
          </el-table-column>
          <el-table-column  label="编辑" >
            <template slot-scope="scope">
              <el-button type="primary" @click="editReletive(scope)">编辑</el-button>
            </template>
          </el-table-column>
      </el-table>
  </div>
</template>

<script>
  import Tabel from '@/components/Table'
  import { getClassList, addClass, editClass, deleteClass } from '@/api/TeachingCenter/classManage'
  import { mapGetters } from 'vuex'
  export default {
    name: 'classManage',
    components: { Tabel },
    data() {
      return {
       }
    },
    methods: {
      }
    }
</script>
